package cn.zjyj.module.zjyj.controller.admin.tenantunit.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 租户单元 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TenantUnitSimpleRespVO {

    @Schema(description = "单元id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15481")
    @ExcelProperty("单元id")
    private Long id;
    @Schema(description = "单元名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("单元名称")
    private String name;

    @Schema(description = "父单元id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26403")
    @ExcelProperty("父单元id")
    private Long parentId;

}